package com.dgut.epidemic.service;

import com.dgut.epidemic.pojo.Daily_data;
import com.dgut.epidemic.pojo.WeChatUser;

/**
 * Author: wuhaoduan
 * Date: 2021/6/6 10:18
 */
public interface WeChatUserService {
    //判断账号密码是否正确
    int judgeWeChatUser(String id,String password);

    //根据id获得用户数据
    WeChatUser getWeChatUserById(String id);

    //判断某人当天是否已经上报
    int judgeUserIsSubmit(String id);

    //提交每日疫情填报
    void insertDailyData(Daily_data daily_data);

    //每日凌晨对前一天未打卡的人打卡数置为0
    void setAllNoWeChatUser();
}
